public class Bird extends Animal {
    public Bird(String name) {
        super(name);
    }

    // Bird 不实现 Pet
    public void fly() {
        System.out.println(getName() + " is flying.");
    }
}
